/*
 * UnsignedIntContable.cpp
 *
 *  Created on: 01/06/2013
 *      Author: npersia
 */

#include "UnsignedIntContable.h"

UnsignedIntContable::UnsignedIntContable(unsigned int nuevoDato) {
this->dato = nuevoDato;
this->contador = 0;

}

void UnsignedIntContable::setDato(string nuevoDato) {

}

void UnsignedIntContable::setDato(unsigned int nuevoDato) {
	this->dato = nuevoDato;
}

void UnsignedIntContable::getDato(string& dato) {
}

void UnsignedIntContable::getDato(unsigned int& dato) {
	dato = this->dato;
}

bool UnsignedIntContable::operator ==(DatoContable* otroDatoContable) {
	return (*otroDatoContable==this->dato );
}

bool UnsignedIntContable::operator ==(string unString) {
	return false;
}

bool UnsignedIntContable::operator ==(unsigned int unUnsignedInt) {
	return (this->dato == unUnsignedInt);
}

UnsignedIntContable::~UnsignedIntContable() {

}

bool UnsignedIntContable::operator <(DatoContable* otroDatoContable) {
	return (*otroDatoContable>this->dato );
}

bool UnsignedIntContable::operator>(string unString) {
	return false;
}

bool UnsignedIntContable::operator>(unsigned int unUnsignedInt) {
	return (this->dato > unUnsignedInt);
}
